package com.xiaohudie.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Data
@Component(value = "liudie")
public class Resority {
    private String name;
    private String id;
  @Resource
    private Student student;
}
